<template>
  <div class="daily">
    <nav>
      <div class="box">
       <router-link to="my" style="color: #333">
         <van-icon name="arrow-left" class="icon icon-left" />
        </router-link>
        <span>雅虎日拍</span>
      </div>
    </nav>
    <van-tabs v-model:active="active" color="#ff3d58">
      <van-tab title="竞拍中">
        <div class="box-1">
          <img
            src="https://mall.leyifan.com/subPackages/pagesOther/static/images/noContentYet.png"
            alt=""
          />
          <p>暂无内容</p>
        </div>
        <div class="box-2">
          <ul>
            <li>

            </li>
          </ul>
        </div>
      </van-tab>
      <van-tab title="已得标">
        <div class="box-1">
          <img
            src="https://mall.leyifan.com/subPackages/pagesOther/static/images/noContentYet.png"
            alt=""
          />
          <p>暂无内容</p>
        </div>
        <div class="box-2">
          <ul>
            <li></li>
          </ul>
        </div>
      </van-tab>
      <van-tab title="未得标">
        <div class="box-1">
          <img
            src="https://mall.leyifan.com/subPackages/pagesOther/static/images/noContentYet.png"
            alt=""
          />
          <p>暂无内容</p>
        </div>
        <div class="box-2">
          <ul>
            <li></li>
          </ul>
        </div>
      </van-tab>
      <van-tab title="取消/退款">
        <div class="box-1">
          <img
            src="https://mall.leyifan.com/subPackages/pagesOther/static/images/noContentYet.png"
            alt=""
          />
          <p>暂无内容</p>
        </div>
        <div class="box-2">
          <ul>
            <li></li>
          </ul>
        </div>
      </van-tab>
    </van-tabs>
  </div>
</template>

<script setup lang='ts'>
import { ref } from 'vue'
const active = ref(0)
</script>

<style lang='less' scoped>
.daily {
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  padding: 40rem 0;
  nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;

    .box {
      width: 100vw;
      height: 40rem;
      background-color: #fff;
      font-size: 18rem;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      .icon-left {
        position: absolute;
        top: 12rem;
        left: 14rem;
      }
      span {
        line-height: 40rem;
        font-size: 16rem;
        font-weight: bold;
      }
    }
  }
  .box-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 150rem;
    img {
      width: 160rem;
      height: 160rem;
      display: block;
      object-fit: contain;
    }
    p {
      padding: 10rem 0;
      font-size: 14rem;
    }
  }
}
</style>